package com.swiftops.common.constant;

/**
 * 公共常量
 */
public class CommonConstant {

    /**
     * 删除状态
     */
    public static final String DELETE_STATE_FLAG_NORMAL = "0";

    /***
     * 数字常量
     */
    public static final int DEFAULT_NUMBER_ZERO = 0;
    public static final int DEFAULT_NUMBER_ONE = 1;

    /**
     * 树根节点
     */
    public static final String TREE_ROOTNODE_VALUE = "0";

    /**
     * 默认分页开始页数及每页记录条数
     */
    public static Integer DEFAULT_PAGENUMBER = 1;
    public static Integer DEFAULT_PAGESIZE = 10;

    /**
     * 是否 0：否  1：是  2:已取消
     */
    public static final byte NO = 0;
    public static final byte YES = 1;
    public static final byte CANCEL = 2;


    /**
     * 操作用户类型定义
     * 0：未知
     * 1：PC
     */
    public static final String OPERATE_TYPE_NULL = "0";
    public static final String OPERATE_TYPE_USER = "1";
}
